package com.cs307.redcross.client;

import java.io.Serializable;
import java.util.Date;
import java.util.Vector;

import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.i18n.client.DateTimeFormat;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.AbsolutePanel;
import com.google.gwt.user.client.ui.ToggleButton;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Widget;

public class FreeTimeEventsContent extends Content implements Serializable {
	private static final long serialVersionUID = 1554712884328721319L;
	
	int sunAbsLeft;
	int monAbsLeft;
	int tueAbsLeft;
	int wedAbsLeft;
	int thuAbsLeft;
	int friAbsLeft;
	int satAbsLeft;
	int absTop;
	int absTop2;
	
	
	Vector<FreeTimeEvent> freeTimeVector = new Vector<FreeTimeEvent>();
	Vector<FreeTimeEvent> addedFreeTimeVector = new Vector<FreeTimeEvent>();
	
	LoadingPopupPanel lpp = new LoadingPopupPanel();
	
	Button submitChangesButton;
	Button cancelButton;
	
	public FreeTimeEventsContent() {		
		lpp.setGlassEnabled(true);
		lpp.setPopupPosition(300, 400);
//		lpp.show();
		
		if (Server.currentUser == null) {
			Window.alert("Cannot retrieve your Free Time information from the server.");
			return;
		}
		
		if (Server.currentUser != null && Server.currentUser.getFreeTimeEvents() != null) {
			freeTimeVector = Server.currentUser.getFreeTimeEvents();
		}
		
		final AbsolutePanel absolutePanel = new AbsolutePanel();
		initWidget(absolutePanel);
		absolutePanel.setSize("967px", "1288px");
		
		Label lblPleaseMarkThe = new Label("Please mark the times during the week which you are free and available to help out at various events. This information will be used to help us more easily schedule volunteers for events. Thank you.");
		absolutePanel.add(lblPleaseMarkThe, 10, 10);
		
		Label lblSunday = new Label("Sunday");
		absolutePanel.add(lblSunday, 175, 75);
		
		Label lblMonday = new Label("Monday");
		absolutePanel.add(lblMonday, 265, 75);
		lblMonday.setSize("44px", "18px");
		
		Label lblTuesday = new Label("Tuesday");
		absolutePanel.add(lblTuesday, 357, 75);
		lblTuesday.setSize("44px", "18px");
		
		Label lblWednesday = new Label("Wednesday");
		absolutePanel.add(lblWednesday, 438, 75);
		lblWednesday.setSize("44px", "18px");
		
		Label lblThursday = new Label("Thursday");
		absolutePanel.add(lblThursday, 538, 75);
		lblThursday.setSize("44px", "18px");
		
		Label lblFriday = new Label("Friday");
		absolutePanel.add(lblFriday, 638, 75);
		lblFriday.setSize("44px", "18px");
		
		Label lblSaturday = new Label("Saturday");
		absolutePanel.add(lblSaturday, 723, 75);
		lblSaturday.setSize("44px", "18px");
		
		ToggleButton toggleButton = new ToggleButton("");
		absolutePanel.add(toggleButton, 153, 110);
		toggleButton.setSize("77px", "10px");
		sunAbsLeft = toggleButton.getAbsoluteLeft();
		absTop = toggleButton.getAbsoluteTop();
		
		ToggleButton toggleButton_1 = new ToggleButton("");
		absolutePanel.add(toggleButton_1, 245, 110);
		toggleButton_1.setSize("77px", "10px");
		monAbsLeft = toggleButton_1.getAbsoluteLeft();
		
		ToggleButton toggleButton_2 = new ToggleButton("");
		absolutePanel.add(toggleButton_2, 337, 110);
		toggleButton_2.setSize("77px", "10px");
		tueAbsLeft = toggleButton_2.getAbsoluteLeft();
		
		ToggleButton toggleButton_3 = new ToggleButton("");
		absolutePanel.add(toggleButton_3, 429, 110);
		toggleButton_3.setSize("77px", "10px");
		wedAbsLeft = toggleButton_3.getAbsoluteLeft();
		
		ToggleButton toggleButton_4 = new ToggleButton("");
		absolutePanel.add(toggleButton_4, 521, 110);
		toggleButton_4.setSize("77px", "10px");
		thuAbsLeft = toggleButton_4.getAbsoluteLeft();
		
		ToggleButton toggleButton_5 = new ToggleButton("");
		absolutePanel.add(toggleButton_5, 613, 110);
		toggleButton_5.setSize("77px", "10px");
		friAbsLeft = toggleButton_5.getAbsoluteLeft();
		
		ToggleButton toggleButton_6 = new ToggleButton("");
		absolutePanel.add(toggleButton_6, 705, 110);
		toggleButton_6.setSize("77px", "10px");
		satAbsLeft = toggleButton_6.getAbsoluteLeft();
		
		ToggleButton toggleButton_7 = new ToggleButton("");
		absolutePanel.add(toggleButton_7, 153, 134);
		toggleButton_7.setSize("77px", "10px");
		
		ToggleButton toggleButton_8 = new ToggleButton("");
		absolutePanel.add(toggleButton_8, 245, 134);
		toggleButton_8.setSize("77px", "10px");
		
		ToggleButton toggleButton_9 = new ToggleButton("");
		absolutePanel.add(toggleButton_9, 337, 134);
		toggleButton_9.setSize("77px", "10px");
		
		ToggleButton toggleButton_10 = new ToggleButton("");
		absolutePanel.add(toggleButton_10, 429, 134);
		toggleButton_10.setSize("77px", "10px");
		
		ToggleButton toggleButton_11 = new ToggleButton("");
		absolutePanel.add(toggleButton_11, 521, 134);
		toggleButton_11.setSize("77px", "10px");
		
		ToggleButton toggleButton_12 = new ToggleButton("");
		absolutePanel.add(toggleButton_12, 613, 134);
		toggleButton_12.setSize("77px", "10px");
		
		ToggleButton toggleButton_13 = new ToggleButton("");
		
		absolutePanel.add(toggleButton_13, 705, 134);
		toggleButton_13.setSize("77px", "10px");
		
		ToggleButton toggleButton_14 = new ToggleButton("");
		toggleButton_14.getDownFace().setText("");
		absolutePanel.add(toggleButton_14, 153, 158);
		toggleButton_14.setSize("77px", "10px");
		
		ToggleButton toggleButton_15 = new ToggleButton("");
		toggleButton_15.getDownFace().setText("");
		absolutePanel.add(toggleButton_15, 245, 158);
		toggleButton_15.setSize("77px", "10px");
		
		ToggleButton toggleButton_16 = new ToggleButton("");
		toggleButton_16.getDownFace().setText("");
		absolutePanel.add(toggleButton_16, 337, 158);
		toggleButton_16.setSize("77px", "10px");
		
		ToggleButton toggleButton_17 = new ToggleButton("");
		toggleButton_17.getDownFace().setText("");
		absolutePanel.add(toggleButton_17, 429, 158);
		toggleButton_17.setSize("77px", "10px");
		
		ToggleButton toggleButton_18 = new ToggleButton("");
		toggleButton_18.getDownFace().setText("");
		absolutePanel.add(toggleButton_18, 521, 158);
		toggleButton_18.setSize("77px", "10px");
		
		ToggleButton toggleButton_19 = new ToggleButton("");
		toggleButton_19.getDownFace().setText("");
		absolutePanel.add(toggleButton_19, 613, 158);
		toggleButton_19.setSize("77px", "10px");
		
		ToggleButton toggleButton_20 = new ToggleButton("");
		toggleButton_20.getDownFace().setText("");
		absolutePanel.add(toggleButton_20, 705, 158);
		toggleButton_20.setSize("77px", "10px");
		
		ToggleButton toggleButton_21 = new ToggleButton("");
		toggleButton_21.getDownFace().setText("");
		absolutePanel.add(toggleButton_21, 153, 182);
		toggleButton_21.setSize("77px", "10px");
		
		ToggleButton toggleButton_22 = new ToggleButton("");
		toggleButton_22.getDownFace().setText("");
		absolutePanel.add(toggleButton_22, 245, 182);
		toggleButton_22.setSize("77px", "10px");
		
		ToggleButton toggleButton_23 = new ToggleButton("");
		toggleButton_23.getDownFace().setText("");
		absolutePanel.add(toggleButton_23, 337, 182);
		toggleButton_23.setSize("77px", "10px");
		
		ToggleButton toggleButton_24 = new ToggleButton("");
		toggleButton_24.getDownFace().setText("");
		absolutePanel.add(toggleButton_24, 429, 182);
		toggleButton_24.setSize("77px", "10px");
		
		ToggleButton toggleButton_25 = new ToggleButton("");
		toggleButton_25.getDownFace().setText("");
		absolutePanel.add(toggleButton_25, 521, 182);
		toggleButton_25.setSize("77px", "10px");
		
		ToggleButton toggleButton_26 = new ToggleButton("");
		toggleButton_26.getDownFace().setText("");
		absolutePanel.add(toggleButton_26, 613, 182);
		toggleButton_26.setSize("77px", "10px");
		
		ToggleButton toggleButton_27 = new ToggleButton("");
		toggleButton_27.getDownFace().setText("");
		absolutePanel.add(toggleButton_27, 705, 182);
		toggleButton_27.setSize("77px", "10px");
		
		ToggleButton toggleButton_28 = new ToggleButton("");
		toggleButton_28.getDownFace().setText("");
		absolutePanel.add(toggleButton_28, 153, 206);
		toggleButton_28.setSize("77px", "10px");
		
		ToggleButton toggleButton_29 = new ToggleButton("");
		toggleButton_29.getDownFace().setText("");
		absolutePanel.add(toggleButton_29, 245, 206);
		toggleButton_29.setSize("77px", "10px");
		
		ToggleButton toggleButton_30 = new ToggleButton("");
		toggleButton_30.getDownFace().setText("");
		absolutePanel.add(toggleButton_30, 337, 206);
		toggleButton_30.setSize("77px", "10px");
		
		ToggleButton toggleButton_31 = new ToggleButton("");
		toggleButton_31.getDownFace().setText("");
		absolutePanel.add(toggleButton_31, 429, 206);
		toggleButton_31.setSize("77px", "10px");
		
		ToggleButton toggleButton_32 = new ToggleButton("");
		toggleButton_32.getDownFace().setText("");
		absolutePanel.add(toggleButton_32, 521, 206);
		toggleButton_32.setSize("77px", "10px");
		
		ToggleButton toggleButton_33 = new ToggleButton("");
		toggleButton_33.getDownFace().setText("");
		absolutePanel.add(toggleButton_33, 613, 206);
		toggleButton_33.setSize("77px", "10px");
		
		ToggleButton toggleButton_34 = new ToggleButton("");
		toggleButton_34.getDownFace().setText("");
		absolutePanel.add(toggleButton_34, 705, 206);
		toggleButton_34.setSize("77px", "10px");
		
		ToggleButton toggleButton_35 = new ToggleButton("");
		toggleButton_35.getDownFace().setText("");
		absolutePanel.add(toggleButton_35, 153, 230);
		toggleButton_35.setSize("77px", "10px");
		
		ToggleButton toggleButton_36 = new ToggleButton("");
		toggleButton_36.getDownFace().setText("");
		absolutePanel.add(toggleButton_36, 245, 230);
		toggleButton_36.setSize("77px", "10px");
		
		ToggleButton toggleButton_37 = new ToggleButton("");
		toggleButton_37.getDownFace().setText("");
		absolutePanel.add(toggleButton_37, 337, 230);
		toggleButton_37.setSize("77px", "10px");
		
		ToggleButton toggleButton_38 = new ToggleButton("");
		toggleButton_38.getDownFace().setText("");
		absolutePanel.add(toggleButton_38, 429, 230);
		toggleButton_38.setSize("77px", "10px");
		
		ToggleButton toggleButton_39 = new ToggleButton("");
		toggleButton_39.getDownFace().setText("");
		absolutePanel.add(toggleButton_39, 521, 230);
		toggleButton_39.setSize("77px", "10px");
		
		ToggleButton toggleButton_40 = new ToggleButton("");
		toggleButton_40.getDownFace().setText("");
		absolutePanel.add(toggleButton_40, 613, 230);
		toggleButton_40.setSize("77px", "10px");
		
		ToggleButton toggleButton_41 = new ToggleButton("");
		toggleButton_41.getDownFace().setText("");
		absolutePanel.add(toggleButton_41, 705, 230);
		toggleButton_41.setSize("77px", "10px");
		
		ToggleButton toggleButton_42 = new ToggleButton("");
		toggleButton_42.getDownFace().setText("");
		absolutePanel.add(toggleButton_42, 153, 254);
		toggleButton_42.setSize("77px", "10px");
		
		ToggleButton toggleButton_43 = new ToggleButton("");
		toggleButton_43.getDownFace().setText("");
		absolutePanel.add(toggleButton_43, 245, 254);
		toggleButton_43.setSize("77px", "10px");
		
		ToggleButton toggleButton_44 = new ToggleButton("");
		toggleButton_44.getDownFace().setText("");
		absolutePanel.add(toggleButton_44, 337, 254);
		toggleButton_44.setSize("77px", "10px");
		
		ToggleButton toggleButton_45 = new ToggleButton("");
		toggleButton_45.getDownFace().setText("");
		absolutePanel.add(toggleButton_45, 429, 254);
		toggleButton_45.setSize("77px", "10px");
		
		ToggleButton toggleButton_46 = new ToggleButton("");
		toggleButton_46.getDownFace().setText("");
		absolutePanel.add(toggleButton_46, 521, 254);
		toggleButton_46.setSize("77px", "10px");
		
		ToggleButton toggleButton_47 = new ToggleButton("");
		toggleButton_47.getDownFace().setText("");
		absolutePanel.add(toggleButton_47, 613, 254);
		toggleButton_47.setSize("77px", "10px");
		
		ToggleButton toggleButton_48 = new ToggleButton("");
		toggleButton_48.getDownFace().setText("");
		absolutePanel.add(toggleButton_48, 705, 254);
		toggleButton_48.setSize("77px", "10px");
		
		ToggleButton toggleButton_49 = new ToggleButton("");
		toggleButton_49.getDownFace().setText("");
		absolutePanel.add(toggleButton_49, 153, 278);
		toggleButton_49.setSize("77px", "10px");
		
		ToggleButton toggleButton_50 = new ToggleButton("");
		toggleButton_50.getDownFace().setText("");
		absolutePanel.add(toggleButton_50, 245, 278);
		toggleButton_50.setSize("77px", "10px");
		
		ToggleButton toggleButton_51 = new ToggleButton("");
		toggleButton_51.getDownFace().setText("");
		absolutePanel.add(toggleButton_51, 337, 278);
		toggleButton_51.setSize("77px", "10px");
		
		ToggleButton toggleButton_52 = new ToggleButton("");
		toggleButton_52.getDownFace().setText("");
		absolutePanel.add(toggleButton_52, 429, 278);
		toggleButton_52.setSize("77px", "10px");
		
		ToggleButton toggleButton_53 = new ToggleButton("");
		toggleButton_53.getDownFace().setText("");
		absolutePanel.add(toggleButton_53, 521, 278);
		toggleButton_53.setSize("77px", "10px");
		
		ToggleButton toggleButton_54 = new ToggleButton("");
		toggleButton_54.getDownFace().setText("");
		absolutePanel.add(toggleButton_54, 613, 278);
		toggleButton_54.setSize("77px", "10px");
		
		ToggleButton toggleButton_55 = new ToggleButton("");
		toggleButton_55.getDownFace().setText("");
		absolutePanel.add(toggleButton_55, 705, 278);
		toggleButton_55.setSize("77px", "10px");
		
		ToggleButton toggleButton_56 = new ToggleButton("");
		toggleButton_56.getDownFace().setText("");
		absolutePanel.add(toggleButton_56, 153, 302);
		toggleButton_56.setSize("77px", "10px");
		
		ToggleButton toggleButton_57 = new ToggleButton("");
		toggleButton_57.getDownFace().setText("");
		absolutePanel.add(toggleButton_57, 245, 302);
		toggleButton_57.setSize("77px", "10px");
		
		ToggleButton toggleButton_58 = new ToggleButton("");
		toggleButton_58.getDownFace().setText("");
		absolutePanel.add(toggleButton_58, 337, 302);
		toggleButton_58.setSize("77px", "10px");
		
		ToggleButton toggleButton_59 = new ToggleButton("");
		toggleButton_59.getDownFace().setText("");
		absolutePanel.add(toggleButton_59, 429, 302);
		toggleButton_59.setSize("77px", "10px");
		
		ToggleButton toggleButton_60 = new ToggleButton("");
		toggleButton_60.getDownFace().setText("");
		absolutePanel.add(toggleButton_60, 521, 302);
		toggleButton_60.setSize("77px", "10px");
		
		ToggleButton toggleButton_61 = new ToggleButton("");
		toggleButton_61.getDownFace().setText("");
		absolutePanel.add(toggleButton_61, 613, 302);
		toggleButton_61.setSize("77px", "10px");
		
		ToggleButton toggleButton_62 = new ToggleButton("");
		toggleButton_62.getDownFace().setText("");
		absolutePanel.add(toggleButton_62, 705, 302);
		toggleButton_62.setSize("77px", "10px");
		
		ToggleButton toggleButton_63 = new ToggleButton("");
		toggleButton_63.getDownFace().setText("");
		absolutePanel.add(toggleButton_63, 153, 326);
		toggleButton_63.setSize("77px", "10px");
		
		ToggleButton toggleButton_64 = new ToggleButton("");
		toggleButton_64.getDownFace().setText("");
		absolutePanel.add(toggleButton_64, 245, 326);
		toggleButton_64.setSize("77px", "10px");
		
		ToggleButton toggleButton_65 = new ToggleButton("");
		toggleButton_65.getDownFace().setText("");
		absolutePanel.add(toggleButton_65, 337, 326);
		toggleButton_65.setSize("77px", "10px");
		
		ToggleButton toggleButton_66 = new ToggleButton("");
		toggleButton_66.getDownFace().setText("");
		absolutePanel.add(toggleButton_66, 429, 326);
		toggleButton_66.setSize("77px", "10px");
		
		ToggleButton toggleButton_67 = new ToggleButton("");
		toggleButton_67.getDownFace().setText("");
		absolutePanel.add(toggleButton_67, 521, 326);
		toggleButton_67.setSize("77px", "10px");
		
		ToggleButton toggleButton_68 = new ToggleButton("");
		toggleButton_68.getDownFace().setText("");
		absolutePanel.add(toggleButton_68, 613, 326);
		toggleButton_68.setSize("77px", "10px");
		
		ToggleButton toggleButton_69 = new ToggleButton("");
		toggleButton_69.getDownFace().setText("");
		absolutePanel.add(toggleButton_69, 705, 326);
		toggleButton_69.setSize("77px", "10px");
		
		ToggleButton toggleButton_70 = new ToggleButton("");
		toggleButton_70.getDownFace().setText("");
		absolutePanel.add(toggleButton_70, 153, 350);
		toggleButton_70.setSize("77px", "10px");
		
		ToggleButton toggleButton_71 = new ToggleButton("");
		toggleButton_71.getDownFace().setText("");
		absolutePanel.add(toggleButton_71, 245, 350);
		toggleButton_71.setSize("77px", "10px");
		
		ToggleButton toggleButton_72 = new ToggleButton("");
		toggleButton_72.getDownFace().setText("");
		absolutePanel.add(toggleButton_72, 337, 350);
		toggleButton_72.setSize("77px", "10px");
		
		ToggleButton toggleButton_73 = new ToggleButton("");
		toggleButton_73.getDownFace().setText("");
		absolutePanel.add(toggleButton_73, 429, 350);
		toggleButton_73.setSize("77px", "10px");
		
		ToggleButton toggleButton_74 = new ToggleButton("");
		toggleButton_74.getDownFace().setText("");
		absolutePanel.add(toggleButton_74, 521, 350);
		toggleButton_74.setSize("77px", "10px");
		
		ToggleButton toggleButton_75 = new ToggleButton("");
		toggleButton_75.getDownFace().setText("");
		absolutePanel.add(toggleButton_75, 613, 350);
		toggleButton_75.setSize("77px", "10px");
		
		ToggleButton toggleButton_76 = new ToggleButton("");
		toggleButton_76.getDownFace().setText("");
		absolutePanel.add(toggleButton_76, 705, 350);
		toggleButton_76.setSize("77px", "10px");
		
		ToggleButton toggleButton_77 = new ToggleButton("");
		toggleButton_77.getDownFace().setText("");
		absolutePanel.add(toggleButton_77, 153, 374);
		toggleButton_77.setSize("77px", "10px");
		
		ToggleButton toggleButton_78 = new ToggleButton("");
		toggleButton_78.getDownFace().setText("");
		absolutePanel.add(toggleButton_78, 245, 374);
		toggleButton_78.setSize("77px", "10px");
		
		ToggleButton toggleButton_79 = new ToggleButton("");
		toggleButton_79.getDownFace().setText("");
		absolutePanel.add(toggleButton_79, 337, 374);
		toggleButton_79.setSize("77px", "10px");
		
		ToggleButton toggleButton_80 = new ToggleButton("");
		toggleButton_80.getDownFace().setText("");
		absolutePanel.add(toggleButton_80, 429, 374);
		toggleButton_80.setSize("77px", "10px");
		
		ToggleButton toggleButton_81 = new ToggleButton("");
		toggleButton_81.getDownFace().setText("");
		absolutePanel.add(toggleButton_81, 521, 374);
		toggleButton_81.setSize("77px", "10px");
		
		ToggleButton toggleButton_82 = new ToggleButton("");
		toggleButton_82.getDownFace().setText("");
		absolutePanel.add(toggleButton_82, 613, 374);
		toggleButton_82.setSize("77px", "10px");
		
		ToggleButton toggleButton_83 = new ToggleButton("");
		toggleButton_83.getDownFace().setText("");
		absolutePanel.add(toggleButton_83, 705, 374);
		toggleButton_83.setSize("77px", "10px");
		
		ToggleButton toggleButton_84 = new ToggleButton("");
		toggleButton_84.getDownFace().setText("");
		absolutePanel.add(toggleButton_84, 153, 398);
		toggleButton_84.setSize("77px", "10px");
		
		ToggleButton toggleButton_85 = new ToggleButton("");
		toggleButton_85.getDownFace().setText("");
		absolutePanel.add(toggleButton_85, 245, 398);
		toggleButton_85.setSize("77px", "10px");
		
		ToggleButton toggleButton_86 = new ToggleButton("");
		toggleButton_86.getDownFace().setText("");
		absolutePanel.add(toggleButton_86, 337, 398);
		toggleButton_86.setSize("77px", "10px");
		
		ToggleButton toggleButton_87 = new ToggleButton("");
		toggleButton_87.getDownFace().setText("");
		absolutePanel.add(toggleButton_87, 429, 398);
		toggleButton_87.setSize("77px", "10px");
		
		ToggleButton toggleButton_88 = new ToggleButton("");
		toggleButton_88.getDownFace().setText("");
		absolutePanel.add(toggleButton_88, 521, 398);
		toggleButton_88.setSize("77px", "10px");
		
		ToggleButton toggleButton_89 = new ToggleButton("");
		toggleButton_89.getDownFace().setText("");
		absolutePanel.add(toggleButton_89, 613, 398);
		toggleButton_89.setSize("77px", "10px");
		
		ToggleButton toggleButton_90 = new ToggleButton("");
		toggleButton_90.getDownFace().setText("");
		absolutePanel.add(toggleButton_90, 705, 398);
		toggleButton_90.setSize("77px", "10px");
		
		ToggleButton toggleButton_91 = new ToggleButton("");
		toggleButton_91.getDownFace().setText("");
		absolutePanel.add(toggleButton_91, 153, 422);
		toggleButton_91.setSize("77px", "10px");
		
		ToggleButton toggleButton_92 = new ToggleButton("");
		toggleButton_92.getDownFace().setText("");
		absolutePanel.add(toggleButton_92, 245, 422);
		toggleButton_92.setSize("77px", "10px");
		
		ToggleButton toggleButton_93 = new ToggleButton("");
		toggleButton_93.getDownFace().setText("");
		absolutePanel.add(toggleButton_93, 337, 422);
		toggleButton_93.setSize("77px", "10px");
		
		ToggleButton toggleButton_94 = new ToggleButton("");
		toggleButton_94.getDownFace().setText("");
		absolutePanel.add(toggleButton_94, 429, 422);
		toggleButton_94.setSize("77px", "10px");
		
		ToggleButton toggleButton_95 = new ToggleButton("");
		toggleButton_95.getDownFace().setText("");
		absolutePanel.add(toggleButton_95, 521, 422);
		toggleButton_95.setSize("77px", "10px");
		
		ToggleButton toggleButton_96 = new ToggleButton("");
		toggleButton_96.getDownFace().setText("");
		absolutePanel.add(toggleButton_96, 613, 422);
		toggleButton_96.setSize("77px", "10px");
		
		ToggleButton toggleButton_97 = new ToggleButton("");
		toggleButton_97.getDownFace().setText("");
		absolutePanel.add(toggleButton_97, 705, 422);
		toggleButton_97.setSize("77px", "10px");
		
		ToggleButton toggleButton_98 = new ToggleButton("");
		toggleButton_98.getDownFace().setText("");
		absolutePanel.add(toggleButton_98, 153, 446);
		toggleButton_98.setSize("77px", "10px");
		
		ToggleButton toggleButton_99 = new ToggleButton("");
		toggleButton_99.getDownFace().setText("");
		absolutePanel.add(toggleButton_99, 245, 446);
		toggleButton_99.setSize("77px", "10px");
		
		ToggleButton toggleButton_100 = new ToggleButton("");
		toggleButton_100.getDownFace().setText("");
		absolutePanel.add(toggleButton_100, 337, 446);
		toggleButton_100.setSize("77px", "10px");
		
		ToggleButton toggleButton_101 = new ToggleButton("");
		toggleButton_101.getDownFace().setText("");
		absolutePanel.add(toggleButton_101, 429, 446);
		toggleButton_101.setSize("77px", "10px");
		
		ToggleButton toggleButton_102 = new ToggleButton("");
		toggleButton_102.getDownFace().setText("");
		absolutePanel.add(toggleButton_102, 521, 446);
		toggleButton_102.setSize("77px", "10px");
		
		ToggleButton toggleButton_103 = new ToggleButton("");
		toggleButton_103.getDownFace().setText("");
		absolutePanel.add(toggleButton_103, 613, 446);
		toggleButton_103.setSize("77px", "10px");
		
		ToggleButton toggleButton_104 = new ToggleButton("");
		toggleButton_104.getDownFace().setText("");
		absolutePanel.add(toggleButton_104, 705, 446);
		toggleButton_104.setSize("77px", "10px");
		
		ToggleButton toggleButton_105 = new ToggleButton("");
		toggleButton_105.getDownFace().setText("");
		absolutePanel.add(toggleButton_105, 153, 470);
		toggleButton_105.setSize("77px", "10px");
		
		ToggleButton toggleButton_106 = new ToggleButton("");
		toggleButton_106.getDownFace().setText("");
		absolutePanel.add(toggleButton_106, 245, 470);
		toggleButton_106.setSize("77px", "10px");
		
		ToggleButton toggleButton_107 = new ToggleButton("");
		toggleButton_107.getDownFace().setText("");
		absolutePanel.add(toggleButton_107, 337, 470);
		toggleButton_107.setSize("77px", "10px");
		
		ToggleButton toggleButton_108 = new ToggleButton("");
		toggleButton_108.getDownFace().setText("");
		absolutePanel.add(toggleButton_108, 429, 470);
		toggleButton_108.setSize("77px", "10px");
		
		ToggleButton toggleButton_109 = new ToggleButton("");
		toggleButton_109.getDownFace().setText("");
		absolutePanel.add(toggleButton_109, 521, 470);
		toggleButton_109.setSize("77px", "10px");
		
		ToggleButton toggleButton_110 = new ToggleButton("");
		toggleButton_110.getDownFace().setText("");
		absolutePanel.add(toggleButton_110, 613, 470);
		toggleButton_110.setSize("77px", "10px");
		
		ToggleButton toggleButton_111 = new ToggleButton("");
		toggleButton_111.getDownFace().setText("");
		absolutePanel.add(toggleButton_111, 705, 470);
		toggleButton_111.setSize("77px", "10px");
		
		ToggleButton toggleButton_112 = new ToggleButton("");
		toggleButton_112.getDownFace().setText("");
		absolutePanel.add(toggleButton_112, 153, 494);
		toggleButton_112.setSize("77px", "10px");
		
		ToggleButton toggleButton_113 = new ToggleButton("");
		toggleButton_113.getDownFace().setText("");
		absolutePanel.add(toggleButton_113, 245, 494);
		toggleButton_113.setSize("77px", "10px");
		
		ToggleButton toggleButton_114 = new ToggleButton("");
		toggleButton_114.getDownFace().setText("");
		absolutePanel.add(toggleButton_114, 337, 494);
		toggleButton_114.setSize("77px", "10px");
		
		ToggleButton toggleButton_115 = new ToggleButton("");
		toggleButton_115.getDownFace().setText("");
		absolutePanel.add(toggleButton_115, 429, 494);
		toggleButton_115.setSize("77px", "10px");
		
		ToggleButton toggleButton_116 = new ToggleButton("");
		toggleButton_116.getDownFace().setText("");
		absolutePanel.add(toggleButton_116, 521, 494);
		toggleButton_116.setSize("77px", "10px");
		
		ToggleButton toggleButton_117 = new ToggleButton("");
		toggleButton_117.getDownFace().setText("");
		absolutePanel.add(toggleButton_117, 613, 494);
		toggleButton_117.setSize("77px", "10px");
		
		ToggleButton toggleButton_118 = new ToggleButton("");
		toggleButton_118.getDownFace().setText("");
		absolutePanel.add(toggleButton_118, 705, 494);
		toggleButton_118.setSize("77px", "10px");
		
		ToggleButton toggleButton_119 = new ToggleButton("");
		toggleButton_119.getDownFace().setText("");
		absolutePanel.add(toggleButton_119, 153, 518);
		toggleButton_119.setSize("77px", "10px");
		
		ToggleButton toggleButton_120 = new ToggleButton("");
		toggleButton_120.getDownFace().setText("");
		absolutePanel.add(toggleButton_120, 245, 518);
		toggleButton_120.setSize("77px", "10px");
		
		ToggleButton toggleButton_121 = new ToggleButton("");
		toggleButton_121.getDownFace().setText("");
		absolutePanel.add(toggleButton_121, 337, 518);
		toggleButton_121.setSize("77px", "10px");
		
		ToggleButton toggleButton_122 = new ToggleButton("");
		toggleButton_122.getDownFace().setText("");
		absolutePanel.add(toggleButton_122, 429, 518);
		toggleButton_122.setSize("77px", "10px");
		
		ToggleButton toggleButton_123 = new ToggleButton("");
		toggleButton_123.getDownFace().setText("");
		absolutePanel.add(toggleButton_123, 521, 518);
		toggleButton_123.setSize("77px", "10px");
		
		ToggleButton toggleButton_124 = new ToggleButton("");
		toggleButton_124.getDownFace().setText("");
		absolutePanel.add(toggleButton_124, 613, 518);
		toggleButton_124.setSize("77px", "10px");
		
		ToggleButton toggleButton_125 = new ToggleButton("");
		toggleButton_125.getDownFace().setText("");
		absolutePanel.add(toggleButton_125, 705, 518);
		toggleButton_125.setSize("77px", "10px");
		
		Label lblAm = new Label("6:00 AM - 6:30 AM");
		absolutePanel.add(lblAm, 25, 109);
		
		Label lblAm_1 = new Label("6:30 AM - 7:00 AM");
		absolutePanel.add(lblAm_1, 25, 133);
		lblAm_1.setSize("115px", "18px");
		
		Label label_1 = new Label("7:00 AM - 7:30 AM");
		absolutePanel.add(label_1, 25, 157);
		label_1.setSize("115px", "18px");
		
		Label label_2 = new Label("7:30 AM - 8:00 AM");
		absolutePanel.add(label_2, 25, 181);
		label_2.setSize("115px", "18px");
		
		Label label_3 = new Label("8:00 AM - 8:30 AM");
		absolutePanel.add(label_3, 25, 206);
		label_3.setSize("115px", "18px");
		
		Label label_4 = new Label("8:30 AM - 9:00 AM");
		absolutePanel.add(label_4, 25, 230);
		label_4.setSize("115px", "18px");
		
		Label label_5 = new Label("9:00 AM - 9:30 AM");
		absolutePanel.add(label_5, 25, 253);
		label_5.setSize("115px", "18px");
		
		Label label_6 = new Label("9:30 AM - 10:00 AM");
		absolutePanel.add(label_6, 18, 277);
		label_6.setSize("130px", "18px");
		
		Label label_7 = new Label("10:00 AM - 10:30 AM");
		absolutePanel.add(label_7, 10, 301);
		label_7.setSize("130px", "18px");
		
		Label label_8 = new Label("10:30 AM - 11:00 AM");
		absolutePanel.add(label_8, 10, 325);
		label_8.setSize("130px", "18px");
		
		Label label_9 = new Label("11:00 AM - 11:30 AM");
		absolutePanel.add(label_9, 10, 349);
		label_9.setSize("130px", "18px");
		
		Label label_10 = new Label("11:30 AM - 12:00 PM");
		absolutePanel.add(label_10, 10, 373);
		label_10.setSize("130px", "18px");
		
		Label label_11 = new Label("12:00 PM - 12:30 PM");
		absolutePanel.add(label_11, 10, 397);
		label_11.setSize("130px", "18px");
		
		Label label_12 = new Label("12:30 PM - 1:00 PM");
		absolutePanel.add(label_12, 18, 421);
		label_12.setSize("130px", "18px");
		
		Label label_13 = new Label("1:00 PM - 1:30 PM");
		absolutePanel.add(label_13, 25, 445);
		label_13.setSize("115px", "18px");
		
		Label label_14 = new Label("1:30 PM - 2:00 PM");
		absolutePanel.add(label_14, 25, 469);
		label_14.setSize("115px", "18px");
		
		Label label_15 = new Label("2:00 PM - 2:30 PM");
		absolutePanel.add(label_15, 25, 493);
		label_15.setSize("115px", "18px");
		
		Label label_16 = new Label("2:30 PM - 3:00 PM");
		absolutePanel.add(label_16, 25, 517);
		label_16.setSize("115px", "18px");
		
		ToggleButton toggleButton_126 = new ToggleButton("");
		absolutePanel.add(toggleButton_126, 153, 543);
		toggleButton_126.setSize("77px", "10px");
		absTop2 = toggleButton_126.getAbsoluteTop();
		
		ToggleButton toggleButton_127 = new ToggleButton("");
		absolutePanel.add(toggleButton_127, 245, 543);
		toggleButton_127.setSize("77px", "10px");
		
		ToggleButton toggleButton_128 = new ToggleButton("");
		absolutePanel.add(toggleButton_128, 337, 543);
		toggleButton_128.setSize("77px", "10px");
		
		ToggleButton toggleButton_129 = new ToggleButton("");
		absolutePanel.add(toggleButton_129, 429, 543);
		toggleButton_129.setSize("77px", "10px");
		
		ToggleButton toggleButton_130 = new ToggleButton("");
		absolutePanel.add(toggleButton_130, 521, 543);
		toggleButton_130.setSize("77px", "10px");
		
		ToggleButton toggleButton_131 = new ToggleButton("");
		absolutePanel.add(toggleButton_131, 613, 543);
		toggleButton_131.setSize("77px", "10px");
		
		ToggleButton toggleButton_132 = new ToggleButton("");
		absolutePanel.add(toggleButton_132, 705, 543);
		toggleButton_132.setSize("77px", "10px");
		
		ToggleButton toggleButton_133 = new ToggleButton("");
		absolutePanel.add(toggleButton_133, 153, 567);
		toggleButton_133.setSize("77px", "10px");
		
		ToggleButton toggleButton_134 = new ToggleButton("");
		absolutePanel.add(toggleButton_134, 245, 567);
		toggleButton_134.setSize("77px", "10px");
		
		ToggleButton toggleButton_135 = new ToggleButton("");
		absolutePanel.add(toggleButton_135, 337, 567);
		toggleButton_135.setSize("77px", "10px");
		
		ToggleButton toggleButton_136 = new ToggleButton("");
		absolutePanel.add(toggleButton_136, 429, 567);
		toggleButton_136.setSize("77px", "10px");
		
		ToggleButton toggleButton_137 = new ToggleButton("");
		absolutePanel.add(toggleButton_137, 521, 567);
		toggleButton_137.setSize("77px", "10px");
		
		ToggleButton toggleButton_138 = new ToggleButton("");
		absolutePanel.add(toggleButton_138, 613, 567);
		toggleButton_138.setSize("77px", "10px");
		
		ToggleButton toggleButton_139 = new ToggleButton("");
		absolutePanel.add(toggleButton_139, 705, 567);
		toggleButton_139.setSize("77px", "10px");
		
		ToggleButton toggleButton_140 = new ToggleButton("");
		toggleButton_140.getDownFace().setText("");
		absolutePanel.add(toggleButton_140, 153, 591);
		toggleButton_140.setSize("77px", "10px");
		
		ToggleButton toggleButton_141 = new ToggleButton("");
		toggleButton_141.getDownFace().setText("");
		absolutePanel.add(toggleButton_141, 245, 591);
		toggleButton_141.setSize("77px", "10px");
		
		ToggleButton toggleButton_142 = new ToggleButton("");
		toggleButton_142.getDownFace().setText("");
		absolutePanel.add(toggleButton_142, 337, 591);
		toggleButton_142.setSize("77px", "10px");
		
		ToggleButton toggleButton_143 = new ToggleButton("");
		toggleButton_143.getDownFace().setText("");
		absolutePanel.add(toggleButton_143, 429, 591);
		toggleButton_143.setSize("77px", "10px");
		
		ToggleButton toggleButton_144 = new ToggleButton("");
		toggleButton_144.getDownFace().setText("");
		absolutePanel.add(toggleButton_144, 521, 591);
		toggleButton_144.setSize("77px", "10px");
		
		ToggleButton toggleButton_145 = new ToggleButton("");
		toggleButton_145.getDownFace().setText("");
		absolutePanel.add(toggleButton_145, 613, 591);
		toggleButton_145.setSize("77px", "10px");
		
		ToggleButton toggleButton_146 = new ToggleButton("");
		toggleButton_146.getDownFace().setText("");
		absolutePanel.add(toggleButton_146, 705, 591);
		toggleButton_146.setSize("77px", "10px");
		
		ToggleButton toggleButton_147 = new ToggleButton("");
		toggleButton_147.getDownFace().setText("");
		absolutePanel.add(toggleButton_147, 153, 615);
		toggleButton_147.setSize("77px", "10px");
		
		ToggleButton toggleButton_148 = new ToggleButton("");
		toggleButton_148.getDownFace().setText("");
		absolutePanel.add(toggleButton_148, 245, 615);
		toggleButton_148.setSize("77px", "10px");
		
		ToggleButton toggleButton_149 = new ToggleButton("");
		toggleButton_149.getDownFace().setText("");
		absolutePanel.add(toggleButton_149, 337, 615);
		toggleButton_149.setSize("77px", "10px");
		
		ToggleButton toggleButton_150 = new ToggleButton("");
		toggleButton_150.getDownFace().setText("");
		absolutePanel.add(toggleButton_150, 429, 615);
		toggleButton_150.setSize("77px", "10px");
		
		ToggleButton toggleButton_151 = new ToggleButton("");
		toggleButton_151.getDownFace().setText("");
		absolutePanel.add(toggleButton_151, 521, 615);
		toggleButton_151.setSize("77px", "10px");
		
		ToggleButton toggleButton_152 = new ToggleButton("");
		toggleButton_152.getDownFace().setText("");
		absolutePanel.add(toggleButton_152, 613, 615);
		toggleButton_152.setSize("77px", "10px");
		
		ToggleButton toggleButton_153 = new ToggleButton("");
		toggleButton_153.getDownFace().setText("");
		absolutePanel.add(toggleButton_153, 705, 615);
		toggleButton_153.setSize("77px", "10px");
		
		ToggleButton toggleButton_154 = new ToggleButton("");
		toggleButton_154.getDownFace().setText("");
		absolutePanel.add(toggleButton_154, 153, 639);
		toggleButton_154.setSize("77px", "10px");
		
		ToggleButton toggleButton_155 = new ToggleButton("");
		toggleButton_155.getDownFace().setText("");
		absolutePanel.add(toggleButton_155, 245, 639);
		toggleButton_155.setSize("77px", "10px");
		
		ToggleButton toggleButton_156 = new ToggleButton("");
		toggleButton_156.getDownFace().setText("");
		absolutePanel.add(toggleButton_156, 337, 639);
		toggleButton_156.setSize("77px", "10px");
		
		ToggleButton toggleButton_157 = new ToggleButton("");
		toggleButton_157.getDownFace().setText("");
		absolutePanel.add(toggleButton_157, 429, 639);
		toggleButton_157.setSize("77px", "10px");
		
		ToggleButton toggleButton_158 = new ToggleButton("");
		toggleButton_158.getDownFace().setText("");
		absolutePanel.add(toggleButton_158, 521, 639);
		toggleButton_158.setSize("77px", "10px");
		
		ToggleButton toggleButton_159 = new ToggleButton("");
		toggleButton_159.getDownFace().setText("");
		absolutePanel.add(toggleButton_159, 613, 639);
		toggleButton_159.setSize("77px", "10px");
		
		ToggleButton toggleButton_160 = new ToggleButton("");
		toggleButton_160.getDownFace().setText("");
		absolutePanel.add(toggleButton_160, 705, 639);
		toggleButton_160.setSize("77px", "10px");
		
		ToggleButton toggleButton_161 = new ToggleButton("");
		toggleButton_161.getDownFace().setText("");
		absolutePanel.add(toggleButton_161, 153, 663);
		toggleButton_161.setSize("77px", "10px");
		
		ToggleButton toggleButton_162 = new ToggleButton("");
		toggleButton_162.getDownFace().setText("");
		absolutePanel.add(toggleButton_162, 245, 663);
		toggleButton_162.setSize("77px", "10px");
		
		ToggleButton toggleButton_163 = new ToggleButton("");
		toggleButton_163.getDownFace().setText("");
		absolutePanel.add(toggleButton_163, 337, 663);
		toggleButton_163.setSize("77px", "10px");
		
		ToggleButton toggleButton_164 = new ToggleButton("");
		toggleButton_164.getDownFace().setText("");
		absolutePanel.add(toggleButton_164, 429, 663);
		toggleButton_164.setSize("77px", "10px");
		
		ToggleButton toggleButton_165 = new ToggleButton("");
		toggleButton_165.getDownFace().setText("");
		absolutePanel.add(toggleButton_165, 521, 663);
		toggleButton_165.setSize("77px", "10px");
		
		ToggleButton toggleButton_166 = new ToggleButton("");
		toggleButton_166.getDownFace().setText("");
		absolutePanel.add(toggleButton_166, 613, 663);
		toggleButton_166.setSize("77px", "10px");
		
		ToggleButton toggleButton_167 = new ToggleButton("");
		toggleButton_167.getDownFace().setText("");
		absolutePanel.add(toggleButton_167, 705, 663);
		toggleButton_167.setSize("77px", "10px");
		
		ToggleButton toggleButton_168 = new ToggleButton("");
		toggleButton_168.getDownFace().setText("");
		absolutePanel.add(toggleButton_168, 153, 687);
		toggleButton_168.setSize("77px", "10px");
		
		ToggleButton toggleButton_169 = new ToggleButton("");
		toggleButton_169.getDownFace().setText("");
		absolutePanel.add(toggleButton_169, 245, 687);
		toggleButton_169.setSize("77px", "10px");
		
		ToggleButton toggleButton_170 = new ToggleButton("");
		toggleButton_170.getDownFace().setText("");
		absolutePanel.add(toggleButton_170, 337, 687);
		toggleButton_170.setSize("77px", "10px");
		
		ToggleButton toggleButton_171 = new ToggleButton("");
		toggleButton_171.getDownFace().setText("");
		absolutePanel.add(toggleButton_171, 429, 687);
		toggleButton_171.setSize("77px", "10px");
		
		ToggleButton toggleButton_172 = new ToggleButton("");
		toggleButton_172.getDownFace().setText("");
		absolutePanel.add(toggleButton_172, 521, 687);
		toggleButton_172.setSize("77px", "10px");
		
		ToggleButton toggleButton_173 = new ToggleButton("");
		toggleButton_173.getDownFace().setText("");
		absolutePanel.add(toggleButton_173, 613, 687);
		toggleButton_173.setSize("77px", "10px");
		
		ToggleButton toggleButton_174 = new ToggleButton("");
		toggleButton_174.getDownFace().setText("");
		absolutePanel.add(toggleButton_174, 705, 687);
		toggleButton_174.setSize("77px", "10px");
		
		ToggleButton toggleButton_175 = new ToggleButton("");
		toggleButton_175.getDownFace().setText("");
		absolutePanel.add(toggleButton_175, 153, 711);
		toggleButton_175.setSize("77px", "10px");
		
		ToggleButton toggleButton_176 = new ToggleButton("");
		toggleButton_176.getDownFace().setText("");
		absolutePanel.add(toggleButton_176, 245, 711);
		toggleButton_176.setSize("77px", "10px");
		
		ToggleButton toggleButton_177 = new ToggleButton("");
		toggleButton_177.getDownFace().setText("");
		absolutePanel.add(toggleButton_177, 337, 711);
		toggleButton_177.setSize("77px", "10px");
		
		ToggleButton toggleButton_178 = new ToggleButton("");
		toggleButton_178.getDownFace().setText("");
		absolutePanel.add(toggleButton_178, 429, 711);
		toggleButton_178.setSize("77px", "10px");
		
		ToggleButton toggleButton_179 = new ToggleButton("");
		toggleButton_179.getDownFace().setText("");
		absolutePanel.add(toggleButton_179, 521, 711);
		toggleButton_179.setSize("77px", "10px");
		
		ToggleButton toggleButton_180 = new ToggleButton("");
		toggleButton_180.getDownFace().setText("");
		absolutePanel.add(toggleButton_180, 613, 711);
		toggleButton_180.setSize("77px", "10px");
		
		ToggleButton toggleButton_181 = new ToggleButton("");
		toggleButton_181.getDownFace().setText("");
		absolutePanel.add(toggleButton_181, 705, 711);
		toggleButton_181.setSize("77px", "10px");
		
		ToggleButton toggleButton_182 = new ToggleButton("");
		toggleButton_182.getDownFace().setText("");
		absolutePanel.add(toggleButton_182, 153, 735);
		toggleButton_182.setSize("77px", "10px");
		
		ToggleButton toggleButton_183 = new ToggleButton("");
		toggleButton_183.getDownFace().setText("");
		absolutePanel.add(toggleButton_183, 245, 735);
		toggleButton_183.setSize("77px", "10px");
		
		ToggleButton toggleButton_184 = new ToggleButton("");
		toggleButton_184.getDownFace().setText("");
		absolutePanel.add(toggleButton_184, 337, 735);
		toggleButton_184.setSize("77px", "10px");
		
		ToggleButton toggleButton_185 = new ToggleButton("");
		toggleButton_185.getDownFace().setText("");
		absolutePanel.add(toggleButton_185, 429, 735);
		toggleButton_185.setSize("77px", "10px");
		
		ToggleButton toggleButton_186 = new ToggleButton("");
		toggleButton_186.getDownFace().setText("");
		absolutePanel.add(toggleButton_186, 521, 735);
		toggleButton_186.setSize("77px", "10px");
		
		ToggleButton toggleButton_187 = new ToggleButton("");
		toggleButton_187.getDownFace().setText("");
		absolutePanel.add(toggleButton_187, 613, 735);
		toggleButton_187.setSize("77px", "10px");
		
		ToggleButton toggleButton_188 = new ToggleButton("");
		toggleButton_188.getDownFace().setText("");
		absolutePanel.add(toggleButton_188, 705, 735);
		toggleButton_188.setSize("77px", "10px");
		
		ToggleButton toggleButton_189 = new ToggleButton("");
		toggleButton_189.getDownFace().setText("");
		absolutePanel.add(toggleButton_189, 153, 759);
		toggleButton_189.setSize("77px", "10px");
		
		ToggleButton toggleButton_190 = new ToggleButton("");
		toggleButton_190.getDownFace().setText("");
		absolutePanel.add(toggleButton_190, 245, 759);
		toggleButton_190.setSize("77px", "10px");
		
		ToggleButton toggleButton_191 = new ToggleButton("");
		toggleButton_191.getDownFace().setText("");
		absolutePanel.add(toggleButton_191, 337, 759);
		toggleButton_191.setSize("77px", "10px");
		
		ToggleButton toggleButton_192 = new ToggleButton("");
		toggleButton_192.getDownFace().setText("");
		absolutePanel.add(toggleButton_192, 429, 759);
		toggleButton_192.setSize("77px", "10px");
		
		ToggleButton toggleButton_193 = new ToggleButton("");
		toggleButton_193.getDownFace().setText("");
		absolutePanel.add(toggleButton_193, 521, 759);
		toggleButton_193.setSize("77px", "10px");
		
		ToggleButton toggleButton_194 = new ToggleButton("");
		toggleButton_194.getDownFace().setText("");
		absolutePanel.add(toggleButton_194, 613, 759);
		toggleButton_194.setSize("77px", "10px");
		
		ToggleButton toggleButton_195 = new ToggleButton("");
		toggleButton_195.getDownFace().setText("");
		absolutePanel.add(toggleButton_195, 705, 759);
		toggleButton_195.setSize("77px", "10px");
		
		ToggleButton toggleButton_196 = new ToggleButton("");
		toggleButton_196.getDownFace().setText("");
		absolutePanel.add(toggleButton_196, 153, 783);
		toggleButton_196.setSize("77px", "10px");
		
		ToggleButton toggleButton_197 = new ToggleButton("");
		toggleButton_197.getDownFace().setText("");
		absolutePanel.add(toggleButton_197, 245, 783);
		toggleButton_197.setSize("77px", "10px");
		
		ToggleButton toggleButton_198 = new ToggleButton("");
		toggleButton_198.getDownFace().setText("");
		absolutePanel.add(toggleButton_198, 337, 783);
		toggleButton_198.setSize("77px", "10px");
		
		ToggleButton toggleButton_199 = new ToggleButton("");
		toggleButton_199.getDownFace().setText("");
		absolutePanel.add(toggleButton_199, 429, 783);
		toggleButton_199.setSize("77px", "10px");
		
		ToggleButton toggleButton_200 = new ToggleButton("");
		toggleButton_200.getDownFace().setText("");
		absolutePanel.add(toggleButton_200, 521, 783);
		toggleButton_200.setSize("77px", "10px");
		
		ToggleButton toggleButton_201 = new ToggleButton("");
		toggleButton_201.getDownFace().setText("");
		absolutePanel.add(toggleButton_201, 613, 783);
		toggleButton_201.setSize("77px", "10px");
		
		ToggleButton toggleButton_202 = new ToggleButton("");
		toggleButton_202.getDownFace().setText("");
		absolutePanel.add(toggleButton_202, 705, 783);
		toggleButton_202.setSize("77px", "10px");
		
		ToggleButton toggleButton_203 = new ToggleButton("");
		toggleButton_203.getDownFace().setText("");
		absolutePanel.add(toggleButton_203, 153, 807);
		toggleButton_203.setSize("77px", "10px");
		
		ToggleButton toggleButton_204 = new ToggleButton("");
		toggleButton_204.getDownFace().setText("");
		absolutePanel.add(toggleButton_204, 245, 807);
		toggleButton_204.setSize("77px", "10px");
		
		ToggleButton toggleButton_205 = new ToggleButton("");
		toggleButton_205.getDownFace().setText("");
		absolutePanel.add(toggleButton_205, 337, 807);
		toggleButton_205.setSize("77px", "10px");
		
		ToggleButton toggleButton_206 = new ToggleButton("");
		toggleButton_206.getDownFace().setText("");
		absolutePanel.add(toggleButton_206, 429, 807);
		toggleButton_206.setSize("77px", "10px");
		
		ToggleButton toggleButton_207 = new ToggleButton("");
		toggleButton_207.getDownFace().setText("");
		absolutePanel.add(toggleButton_207, 521, 807);
		toggleButton_207.setSize("77px", "10px");
		
		ToggleButton toggleButton_208 = new ToggleButton("");
		toggleButton_208.getDownFace().setText("");
		absolutePanel.add(toggleButton_208, 613, 807);
		toggleButton_208.setSize("77px", "10px");
		
		ToggleButton toggleButton_209 = new ToggleButton("");
		toggleButton_209.getDownFace().setText("");
		absolutePanel.add(toggleButton_209, 705, 807);
		toggleButton_209.setSize("77px", "10px");
		
		ToggleButton toggleButton_210 = new ToggleButton("");
		toggleButton_210.getDownFace().setText("");
		absolutePanel.add(toggleButton_210, 153, 831);
		toggleButton_210.setSize("77px", "10px");
		
		ToggleButton toggleButton_211 = new ToggleButton("");
		toggleButton_211.getDownFace().setText("");
		absolutePanel.add(toggleButton_211, 245, 831);
		toggleButton_211.setSize("77px", "10px");
		
		ToggleButton toggleButton_212 = new ToggleButton("");
		toggleButton_212.getDownFace().setText("");
		absolutePanel.add(toggleButton_212, 337, 831);
		toggleButton_212.setSize("77px", "10px");
		
		ToggleButton toggleButton_213 = new ToggleButton("");
		toggleButton_213.getDownFace().setText("");
		absolutePanel.add(toggleButton_213, 429, 831);
		toggleButton_213.setSize("77px", "10px");
		
		ToggleButton toggleButton_214 = new ToggleButton("");
		toggleButton_214.getDownFace().setText("");
		absolutePanel.add(toggleButton_214, 521, 831);
		toggleButton_214.setSize("77px", "10px");
		
		ToggleButton toggleButton_215 = new ToggleButton("");
		toggleButton_215.getDownFace().setText("");
		absolutePanel.add(toggleButton_215, 613, 831);
		toggleButton_215.setSize("77px", "10px");
		
		ToggleButton toggleButton_216 = new ToggleButton("");
		toggleButton_216.getDownFace().setText("");
		absolutePanel.add(toggleButton_216, 705, 831);
		toggleButton_216.setSize("77px", "10px");
		
		ToggleButton toggleButton_217 = new ToggleButton("");
		toggleButton_217.getDownFace().setText("");
		absolutePanel.add(toggleButton_217, 153, 855);
		toggleButton_217.setSize("77px", "10px");
		
		ToggleButton toggleButton_218 = new ToggleButton("");
		toggleButton_218.getDownFace().setText("");
		absolutePanel.add(toggleButton_218, 245, 855);
		toggleButton_218.setSize("77px", "10px");
		
		ToggleButton toggleButton_219 = new ToggleButton("");
		toggleButton_219.getDownFace().setText("");
		absolutePanel.add(toggleButton_219, 337, 855);
		toggleButton_219.setSize("77px", "10px");
		
		ToggleButton toggleButton_220 = new ToggleButton("");
		toggleButton_220.getDownFace().setText("");
		absolutePanel.add(toggleButton_220, 429, 855);
		toggleButton_220.setSize("77px", "10px");
		
		ToggleButton toggleButton_221 = new ToggleButton("");
		toggleButton_221.getDownFace().setText("");
		absolutePanel.add(toggleButton_221, 521, 855);
		toggleButton_221.setSize("77px", "10px");
		
		ToggleButton toggleButton_222 = new ToggleButton("");
		toggleButton_222.getDownFace().setText("");
		absolutePanel.add(toggleButton_222, 613, 855);
		toggleButton_222.setSize("77px", "10px");
		
		ToggleButton toggleButton_223 = new ToggleButton("");
		toggleButton_223.getDownFace().setText("");
		absolutePanel.add(toggleButton_223, 705, 855);
		toggleButton_223.setSize("77px", "10px");
		
		ToggleButton toggleButton_224 = new ToggleButton("");
		toggleButton_224.getDownFace().setText("");
		absolutePanel.add(toggleButton_224, 153, 879);
		toggleButton_224.setSize("77px", "10px");
		
		ToggleButton toggleButton_225 = new ToggleButton("");
		toggleButton_225.getDownFace().setText("");
		absolutePanel.add(toggleButton_225, 245, 879);
		toggleButton_225.setSize("77px", "10px");
		
		ToggleButton toggleButton_226 = new ToggleButton("");
		toggleButton_226.getDownFace().setText("");
		absolutePanel.add(toggleButton_226, 337, 879);
		toggleButton_226.setSize("77px", "10px");
		
		ToggleButton toggleButton_227 = new ToggleButton("");
		toggleButton_227.getDownFace().setText("");
		absolutePanel.add(toggleButton_227, 429, 879);
		toggleButton_227.setSize("77px", "10px");
		
		ToggleButton toggleButton_228 = new ToggleButton("");
		toggleButton_228.getDownFace().setText("");
		absolutePanel.add(toggleButton_228, 521, 879);
		toggleButton_228.setSize("77px", "10px");
		
		ToggleButton toggleButton_229 = new ToggleButton("");
		toggleButton_229.getDownFace().setText("");
		absolutePanel.add(toggleButton_229, 613, 879);
		toggleButton_229.setSize("77px", "10px");
		
		ToggleButton toggleButton_230 = new ToggleButton("");
		toggleButton_230.getDownFace().setText("");
		absolutePanel.add(toggleButton_230, 705, 879);
		toggleButton_230.setSize("77px", "10px");
		
		ToggleButton toggleButton_231 = new ToggleButton("");
		toggleButton_231.getDownFace().setText("");
		absolutePanel.add(toggleButton_231, 153, 903);
		toggleButton_231.setSize("77px", "10px");
		
		ToggleButton toggleButton_232 = new ToggleButton("");
		toggleButton_232.getDownFace().setText("");
		absolutePanel.add(toggleButton_232, 245, 903);
		toggleButton_232.setSize("77px", "10px");
		
		ToggleButton toggleButton_233 = new ToggleButton("");
		toggleButton_233.getDownFace().setText("");
		absolutePanel.add(toggleButton_233, 337, 903);
		toggleButton_233.setSize("77px", "10px");
		
		ToggleButton toggleButton_234 = new ToggleButton("");
		toggleButton_234.getDownFace().setText("");
		absolutePanel.add(toggleButton_234, 429, 903);
		toggleButton_234.setSize("77px", "10px");
		
		ToggleButton toggleButton_235 = new ToggleButton("");
		toggleButton_235.getDownFace().setText("");
		absolutePanel.add(toggleButton_235, 521, 903);
		toggleButton_235.setSize("77px", "10px");
		
		ToggleButton toggleButton_236 = new ToggleButton("");
		toggleButton_236.getDownFace().setText("");
		absolutePanel.add(toggleButton_236, 613, 903);
		toggleButton_236.setSize("77px", "10px");
		
		ToggleButton toggleButton_237 = new ToggleButton("");
		toggleButton_237.getDownFace().setText("");
		absolutePanel.add(toggleButton_237, 705, 903);
		toggleButton_237.setSize("77px", "10px");
		
		ToggleButton toggleButton_238 = new ToggleButton("");
		toggleButton_238.getDownFace().setText("");
		absolutePanel.add(toggleButton_238, 153, 927);
		toggleButton_238.setSize("77px", "10px");
		
		ToggleButton toggleButton_239 = new ToggleButton("");
		toggleButton_239.getDownFace().setText("");
		absolutePanel.add(toggleButton_239, 245, 927);
		toggleButton_239.setSize("77px", "10px");
		
		ToggleButton toggleButton_240 = new ToggleButton("");
		toggleButton_240.getDownFace().setText("");
		absolutePanel.add(toggleButton_240, 337, 927);
		toggleButton_240.setSize("77px", "10px");
		
		ToggleButton toggleButton_241 = new ToggleButton("");
		toggleButton_241.getDownFace().setText("");
		absolutePanel.add(toggleButton_241, 429, 927);
		toggleButton_241.setSize("77px", "10px");
		
		ToggleButton toggleButton_242 = new ToggleButton("");
		toggleButton_242.getDownFace().setText("");
		absolutePanel.add(toggleButton_242, 521, 927);
		toggleButton_242.setSize("77px", "10px");
		
		ToggleButton toggleButton_243 = new ToggleButton("");
		toggleButton_243.getDownFace().setText("");
		absolutePanel.add(toggleButton_243, 613, 927);
		toggleButton_243.setSize("77px", "10px");
		
		ToggleButton toggleButton_244 = new ToggleButton("");
		toggleButton_244.getDownFace().setText("");
		absolutePanel.add(toggleButton_244, 705, 927);
		toggleButton_244.setSize("77px", "10px");
		
		ToggleButton toggleButton_245 = new ToggleButton("");
		toggleButton_245.getDownFace().setText("");
		absolutePanel.add(toggleButton_245, 153, 951);
		toggleButton_245.setSize("77px", "10px");
		
		ToggleButton toggleButton_246 = new ToggleButton("");
		toggleButton_246.getDownFace().setText("");
		absolutePanel.add(toggleButton_246, 245, 951);
		toggleButton_246.setSize("77px", "10px");
		
		ToggleButton toggleButton_247 = new ToggleButton("");
		toggleButton_247.getDownFace().setText("");
		absolutePanel.add(toggleButton_247, 337, 951);
		toggleButton_247.setSize("77px", "10px");
		
		ToggleButton toggleButton_248 = new ToggleButton("");
		toggleButton_248.getDownFace().setText("");
		absolutePanel.add(toggleButton_248, 429, 951);
		toggleButton_248.setSize("77px", "10px");
		
		ToggleButton toggleButton_249 = new ToggleButton("");
		toggleButton_249.getDownFace().setText("");
		absolutePanel.add(toggleButton_249, 521, 951);
		toggleButton_249.setSize("77px", "10px");
		
		ToggleButton toggleButton_250 = new ToggleButton("");
		toggleButton_250.getDownFace().setText("");
		absolutePanel.add(toggleButton_250, 613, 951);
		toggleButton_250.setSize("77px", "10px");
		
		ToggleButton toggleButton_251 = new ToggleButton("");
		toggleButton_251.getDownFace().setText("");
		absolutePanel.add(toggleButton_251, 705, 951);
		toggleButton_251.setSize("77px", "10px");
		
		Label label = new Label("3:00 PM - 3:30 PM");
		absolutePanel.add(label, 25, 542);
		label.setSize("115px", "18px");
		
		Label label_17 = new Label("3:30 PM - 4:00 PM");
		absolutePanel.add(label_17, 25, 566);
		label_17.setSize("115px", "18px");
		
		Label label_18 = new Label("4:00 PM - 4:30 PM");
		absolutePanel.add(label_18, 25, 590);
		label_18.setSize("115px", "18px");
		
		Label label_19 = new Label("4:30 PM - 5:00 PM");
		absolutePanel.add(label_19, 25, 614);
		label_19.setSize("115px", "18px");
		
		Label label_20 = new Label("5:00 PM - 5:30 PM");
		absolutePanel.add(label_20, 25, 639);
		label_20.setSize("115px", "18px");
		
		Label label_21 = new Label("5:30 PM - 6:00 PM");
		absolutePanel.add(label_21, 25, 663);
		label_21.setSize("115px", "18px");
		
		Label label_22 = new Label("6:00 PM - 6:30 PM");
		absolutePanel.add(label_22, 25, 686);
		label_22.setSize("115px", "18px");
		
		Label label_23 = new Label("6:30 PM - 7:00 PM");
		absolutePanel.add(label_23, 25, 710);
		label_23.setSize("115px", "18px");
		
		Label label_24 = new Label("7:00 PM - 7:30 PM");
		absolutePanel.add(label_24, 25, 734);
		label_24.setSize("115px", "18px");
		
		Label label_25 = new Label("8:00 PM - 8:30 PM");
		absolutePanel.add(label_25, 25, 758);
		label_25.setSize("115px", "18px");
		
		Label label_26 = new Label("8:30 PM - 9:00 PM");
		absolutePanel.add(label_26, 25, 782);
		label_26.setSize("115px", "18px");
		
		Label label_27 = new Label("9:00 PM - 9:30 PM");
		absolutePanel.add(label_27, 25, 806);
		label_27.setSize("115px", "18px");
		
		Label label_28 = new Label("9:30 PM - 10:00 PM");
		absolutePanel.add(label_28, 18, 830);
		label_28.setSize("130px", "18px");
		
		Label label_29 = new Label("10:00 PM - 10:30 PM");
		absolutePanel.add(label_29, 10, 854);
		label_29.setSize("130px", "18px");
		
		Label label_30 = new Label("10:30 PM - 11:00 PM");
		absolutePanel.add(label_30, 10, 878);
		label_30.setSize("130px", "18px");
		
		Label label_31 = new Label("11:00 PM - 11:30 PM");
		absolutePanel.add(label_31, 10, 902);
		label_31.setSize("130px", "18px");
		
		Label label_32 = new Label("11:30 PM - 12:00 AM");
		absolutePanel.add(label_32, 10, 926);
		label_32.setSize("130px", "18px");
		
		Label label_33 = new Label("12:00 AM - 12:30 AM");
		absolutePanel.add(label_33, 10, 950);
		label_33.setSize("130px", "18px");
		
		submitChangesButton = new Button("Submit Changes");
		absolutePanel.add(submitChangesButton, 235, 1018);
		submitChangesButton.setSize("189px", "24px");
		submitChangesButton.addClickHandler(new ClickHandler() {
			@SuppressWarnings("deprecation")
			public void onClick(ClickEvent event) {
				Server.currentUser.freeTimeEvents = new Vector<FreeTimeEvent>();
				
				for (int i = 0; i < absolutePanel.getWidgetCount(); i++) {
					Widget w = absolutePanel.getWidget(i);
					if (w instanceof ToggleButton && ((ToggleButton)w).getValue()) {
						System.out.println(w.getAbsoluteTop());
						if (w.getAbsoluteLeft() == sunAbsLeft) {
							// it is Sunday
							if (w.getAbsoluteTop() == (absTop + 24 * 0) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 6, 0), new Date(2011, 3, 24, 6, 30)));
							}
							else if (w.getAbsoluteTop() == (absTop + 24 * 0) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 6, 30), new Date(2011, 3, 24, 7, 0)));
							}
							else if (w.getAbsoluteTop() == (absTop + 24 * 1) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 7, 0), new Date(2011, 3, 24, 7, 30)));
							}	
							else if (w.getAbsoluteTop() == (absTop + 24 * 2) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 7, 30), new Date(2011, 3, 24, 8, 0)));
							}	
							else if (w.getAbsoluteTop() == (absTop + 24 * 30) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 8, 0), new Date(2011, 3, 24, 8, 30)));
							}	
							else if (w.getAbsoluteTop() == (absTop + 24 * 4) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 8, 30), new Date(2011, 3, 24, 9, 0)));
							}	
							else if (w.getAbsoluteTop() == (absTop + 24 * 5) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 9, 0), new Date(2011, 3, 24, 9, 30)));
							}	
							else if (w.getAbsoluteTop() == (absTop + 24 * 6) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 9, 30), new Date(2011, 3, 24, 10, 0)));
							}	
							else if (w.getAbsoluteTop() == (absTop + 24 * 7) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 10, 0), new Date(2011, 3, 24, 10, 30)));
							}	
							else if (w.getAbsoluteTop() == (absTop + 24 * 8) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 10, 30), new Date(2011, 3, 24, 11, 0)));
							}	
							else if (w.getAbsoluteTop() == (absTop + 24 * 9) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 11, 0), new Date(2011, 3, 24, 11, 30)));
							}	
							else if (w.getAbsoluteTop() == (absTop + 24 * 10) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 11, 30), new Date(2011, 3, 24, 12, 0)));
							}	
							else if (w.getAbsoluteTop() == (absTop + 24 * 11) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 12, 0), new Date(2011, 3, 24, 12, 30)));
							}	
							else if (w.getAbsoluteTop() == (absTop + 24 * 12) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 12, 30), new Date(2011, 3, 24, 13, 0)));
							}	
							else if (w.getAbsoluteTop() == (absTop + 24 * 13) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 13, 0), new Date(2011, 3, 24, 13, 30)));
							}	
							else if (w.getAbsoluteTop() == (absTop + 24 * 14) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 13, 30), new Date(2011, 3, 24, 14, 0)));
							}	
							else if (w.getAbsoluteTop() == (absTop + 24 * 15) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 14, 0), new Date(2011, 3, 24, 14, 30)));
							}	
							else if (w.getAbsoluteTop() == (absTop + 24 * 16) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 14, 30), new Date(2011, 3, 24, 15, 0)));
							}	
							else if (w.getAbsoluteTop() == (absTop + 24 * 17) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 15, 0), new Date(2011, 3, 24, 15, 30)));
							}	
							else if (w.getAbsoluteTop() == (absTop2 + 24 * 0) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 15, 30), new Date(2011, 3, 24, 16, 0)));
							}	
							else if (w.getAbsoluteTop() == (absTop2 + 24 * 1) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 16, 0), new Date(2011, 3, 24, 16, 30)));
							}	
							else if (w.getAbsoluteTop() == (absTop2 + 24 * 2) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 16, 30), new Date(2011, 3, 24, 17, 0)));
							}	
							else if (w.getAbsoluteTop() == (absTop2 + 24 * 3) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 17, 0), new Date(2011, 3, 24, 17, 30)));
							}	
							else if (w.getAbsoluteTop() == (absTop2 + 24 * 4) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 17, 30), new Date(2011, 3, 24, 18, 0)));
							}	
							else if (w.getAbsoluteTop() == (absTop2 + 24 * 5) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 18, 0), new Date(2011, 3, 24, 18, 30)));
							}	
							else if (w.getAbsoluteTop() == (absTop2 + 24 * 6) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 18, 30), new Date(2011, 3, 24, 19, 0)));
							}	
							else if (w.getAbsoluteTop() == (absTop2 + 24 * 7) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 19, 0), new Date(2011, 3, 24, 19, 30)));
							}	
							else if (w.getAbsoluteTop() == (absTop2 + 24 * 8) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 19, 30), new Date(2011, 3, 24, 20, 0)));
							}	
							else if (w.getAbsoluteTop() == (absTop2 + 24 * 9) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 20, 0), new Date(2011, 3, 24, 20, 30)));
							}	
							else if (w.getAbsoluteTop() == (absTop2 + 24 * 10) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 20, 30), new Date(2011, 3, 24, 21, 0)));
							}	
							else if (w.getAbsoluteTop() == (absTop2 + 24 * 11) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 21, 0), new Date(2011, 3, 24, 21, 30)));
							}	
							else if (w.getAbsoluteTop() == (absTop2 + 24 * 12) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 21, 30), new Date(2011, 3, 24, 22, 0)));
							}	
							else if (w.getAbsoluteTop() == (absTop2 + 24 * 13) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 22, 0), new Date(2011, 3, 24, 22, 30)));
							}	
							else if (w.getAbsoluteTop() == (absTop2 + 24 * 14) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 22, 30), new Date(2011, 3, 24, 23, 0)));
							}	
							else if (w.getAbsoluteTop() == (absTop2 + 24 * 15) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 23, 0), new Date(2011, 3, 24, 23, 30)));
							}	
							else if (w.getAbsoluteTop() == (absTop2 + 24 * 16) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 24, 23, 30), new Date(2011, 3, 25, 0, 0)));
							}	
							else if (w.getAbsoluteTop() == (absTop2 + 24 * 17) + 107) {
								Server.currentUser.freeTimeEvents.add(new FreeTimeEvent(Server.currentUser.getID(), new Date(2011 - 1900, 3, 25, 0, 0), new Date(2011, 3, 25, 0, 30)));
							}	
						}
						else if (w.getAbsoluteLeft() == monAbsLeft) {
							// it is Monday
							
						}
						else if (w.getAbsoluteLeft() == tueAbsLeft) {
							// it is Tuesday
							
						}
						else if (w.getAbsoluteLeft() == wedAbsLeft) {
							// it is Wednesday
							
						}
						else if (w.getAbsoluteLeft() == thuAbsLeft) {
							// it is Thursday
							
						}
						else if (w.getAbsoluteLeft() == friAbsLeft) {
							// it is Friday
							
						}
						else if (w.getAbsoluteLeft() == satAbsLeft) {
							// it is Saturday
							
						}
					}
				}
				
				Window.alert(Server.currentUser.printFreeTimeEvents());
			}
		});
		
		cancelButton = new Button("Submit Changes");
		cancelButton.setText("Cancel");
		absolutePanel.add(cancelButton, 513, 1018);
		cancelButton.setSize("189px", "24px");
		
		sunAbsLeft = toggleButton.getAbsoluteLeft();
		absTop = toggleButton.getAbsoluteTop();
		monAbsLeft = toggleButton_1.getAbsoluteLeft();
		tueAbsLeft = toggleButton_2.getAbsoluteLeft();
		thuAbsLeft = toggleButton_4.getAbsoluteLeft();
		friAbsLeft = toggleButton_5.getAbsoluteLeft();
		satAbsLeft = toggleButton_6.getAbsoluteLeft();
		
		// populate the form with the correct free time schedule
		if (!freeTimeVector.isEmpty()) {
			for (FreeTimeEvent fte : freeTimeVector) {
				if (fte == null)
					continue;
				
				//TODO: special case for midnight stuff
				
				if (DateTimeFormat.getFormat("EEE").format(fte.getStartTime()).equals("Sun")) {
						
				}
			}
		}
	}
}
